//与员工操作相关的网络请求
import request from "@/utils/request";

//获取员工简单列表
export function getSimpleApi(){
  return request({
    url:'/sys/user/simple',
    method:'get'
  })
}
//获取员工列表
export function getUserListApi(params){
  return request({
    url:'/sys/user',
    method:'get',
    params
  })
}
//新增员工
export function addUserApi(data){
  return request({
    url:'/sys/user',
    method:'post',
    data
  })
}
